/*
 * StreamConnector.cpp
 *
 *  Created on: Oct 10, 2012
 *      Author: nam20485
 */

#include "StreamConnector.h"


StreamConnector::~StreamConnector()
{
}

bool StreamConnector::Connect()
{
	return true;
}

bool StreamConnector::Disconnect()
{
	return true;
}

size_t StreamConnector::ReadBytes(BYTE* pBuff, size_t count)
{
	return  m_stream.readBytes((char*) pBuff, count);
}

size_t StreamConnector::WriteBytes(const BYTE* pBytes, size_t count)
{
	return m_stream.write(pBytes, count);
}



